-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: fix issue with tracking custom functions that return SETOF
materialized view (close #5294)
#5945
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the change actually restricted to setof return types, or materialised views in general?
@sordina It is for setof return types. So for custom functions, the return type has to be table type. So yeah, that would include Tables, Views and materialized views. The problem was that previously, only |
Deploy preview for hasura-docs ready! Built with commit 92c0e4f |
SETOF
materialized view (close #5294)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog approved
Deploy preview for hasura-docs ready! Built with commit 6631bd9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
server LGTM
Is there a docker container available with this fix? Or would I have to build it myself, if I need this fix? |
@reinoldus there is a built image available here if you'd like to use it. You could also build the latest from the |
…materialized view (close hasura#5294) (hasura#5945) hasura#5945
…materialized view (close hasura#5294) (hasura#5945) hasura#5945
fixes #5294
Description
This PR adds a fix to help track custom functions that return a
setof
elements from a materialized view.Affected components
Steps to test and verify
setof
materialized viewData
page to see if this custom function is tracked.Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
GraphQL
Breaking changes